ioemu: drop reschedule of handle_buffered_io on I/O reqs
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 16 Apr 2008 09:07:49 +0000 (10:07 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 16 Apr 2008 09:07:49 +0000 (10:07 +0100)
commit426747a871e69c0f789bbb03de7156170c120686
tree24f8e79aa2e8aa8b514016d7cb549e34c0aa3915
parent724e4fd51ef8e9ca6b1f33c8fcf030c247389693
ioemu: drop reschedule of handle_buffered_io on I/O reqs

Rescheduling the call to handle_buffered_io costs the system call to
qemu_get_clock(), which is very expensive considering the the latency
we would like to achieve for I/O reqs, so we should avoid it.

That means that handle_buffered_io may be called as often as every
0.1s, but that's not so costly.

Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
tools/ioemu/target-i386-dm/helper2.c